package other;
import java.util.ArrayList;
import java.util.List;

import org.newdawn.slick.geom.Vector2f;

public class World {

	private static final Vector2f numberOfGrids = new Vector2f(80f, 45f);
	private static Vector2f gridSize = null;
	
	private static List<Life> shapes = new ArrayList<Life>();
	
	private static List<Food> food = new ArrayList<Food>();
	
	
	
	public static void setGridSize(float x, float y) {
		World.gridSize = new Vector2f(x, y);
	}
	
	public static Vector2f getGridSize() {
		return gridSize;
	}
	
	public static Vector2f getNumberofgrids() {
		return numberOfGrids;
	}
	
	public static void addShape(Life shape){
		shapes.add(shape);
	}
	
	public static List<Life> getLives(){
		return shapes;
	}
	
	public static void addFood(Food food){
		World.food.add(food);
	}
	
	public static List<Food> getFood(){
		return World.food;
	}
	
}
